cmake_minimum_required( VERSION 2.8 )


project( aerEngine )

set( LIBRARY_OUTPUT_PATH ${CMAKE_SOURCE_DIR}/bin )

set( THIRDPARTIES ${CMAKE_SOURCE_DIR}/thirdparty )
include_directories( ${THIRDPARTIES} )

# -- static GLEW --
file( GLOB GLEW_Sources ${THIRDPARTIES}/GL/*.c )
file( GLOB GLEW_Headers ${THIRDPARTIES}/GL/*.h )
add_library( GLEW ${GLEW_Sources} ${GLEW_Headers} )


add_subdirectory( src/ )
add_subdirectory( tests/ )
